package com.website.system.model;


import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

public class Complain extends Model<Complain> {
    private static final long serialVersionUID = 1L;

    @TableId(value="id", type= IdType.AUTO)
    private Integer id;
    @TableField("user_id")
    private Integer userId;
    @TableField("complaints_type")
    private Integer complaintsType;
    @TableField("complaints_content")
    private String complaintsContent;
    @TableField("create_time")
    private Date createTime;
    @TableField("img")
    private String img;
    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public void setComplaintsType(Integer complaintsType) {
        this.complaintsType = complaintsType;
    }

    public void setComplaintsContent(String complaintsContent) {
        this.complaintsContent = complaintsContent;
    }

    public Integer getUserId() {
        return userId;
    }

    public Integer getComplaintsType() {
        return complaintsType;
    }

    public String getComplaintsContent() {
        return complaintsContent;
    }

    public Integer getId() {
        return id;
    }

    @Override
    protected Serializable pkVal() {
        return null;
    }
}
